package com.dexstudio;

import com.dexstudio.events.FunctionItemClick;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;

public class P24Droid extends Activity {
    
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        functionsList = (ListView) findViewById(R.id.functionsList);
        functionsAdapter = ArrayAdapter.createFromResource(this.getApplicationContext(), 
        		R.array.functionsList, android.R.layout.simple_list_item_1);
        functionsList.setAdapter(functionsAdapter);
        
        functionsList.setOnItemClickListener(new FunctionItemClick(this));
    }
    
    //Objects & Variables
    private ListView functionsList = null;
    private ArrayAdapter<CharSequence> functionsAdapter = null;
}